<!DOCTYPE html>
<!-- saved from url=(0065)http://paike.yunxiao.com/m/baseInfo/index?taskId=2640188197994496 -->
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>云校排课 - 让天下没有难排的课表</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta name="keywords" content="云校排课,免费排课,排课软件,排课网站">
    <link href="./css/bootstrap.min.css" rel="stylesheet">
    <link href="./css/common.css" rel="stylesheet">
    <link rel="icon" href="http://paike.yunxiao.com/static/img/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="http://paike.yunxiao.com/static/img/favicon.ico">
    <script charset="utf-8" src="./js/v.js"></script>
    <script src="./js/hm.js"></script>
    <script src="./js/hm(1).js"></script>
    <script type="text/javascript" src="./js/jquery-1.9.1.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="./js/broswercheck.js"></script>
    <script type="text/javascript" src="./js/bootstrap.min.js"></script>
    <script type="text/javascript" src="./js/common.js"></script>
    <script type="text/javascript" src="./js/jsExtensionUtil.js"></script>
    <script src="./js/user-info.js" charset="UTF-8"></script>
</head>

<body>
    <div class="modal fade" id="myModalUserInfo" tabindex="-1" role="dialog" aria-hidden="false" data-backdrop="static" data-keyboard="false">
        <div class="modal-dialog">
            <div class="modal-content" id="modal1">
                <div class="modal-header">
                    <button id="btnClose" type="button" class="close" data-dismiss="modal" style="display: none;">
                        ×
                    </button>
                    <div class="modal-title">
                        <b>完善信息，免费获得排课秘籍</b>
                    </div>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" role="form">
                        <div class="form-group">
                            <label for="list_school_name" class="col-sm-2 control-label">*学校全称</label>
                            <div class="col-sm-9" style="height: 55px;">
                                <div>
                                    <input id="list_school_name" type="text" class="form-control" placeholder="学校全称" aria-describedby="basic-addon1" maxlength="20"
                                        style="display: inline;">
                                </div>
                                <span id="inputError1" for="list_school_name" class="label label-danger" style="visibility: hidden">学校全称必填</span>
                            </div>
                            <br>
                            <br>
                            <label for="list_area" class="col-sm-2 control-label">*所在地区</label>
                            <div class="col-sm-9" style="height: 55px;">
                                <link rel="stylesheet" href="./css/city-picker.css">
                                <script src="./js/city-picker.data.js"></script>
                                <script src="./js/city-picker.js"></script>
                                <div data-toggle="city-picker" class="form-control city-picker-input">
                                    <input id="list_area" readonly="" type="text">
                                </div>
                                <span class="city-picker-span" style="width:1440px;height:34px;line-height:33px;">
                                    <span class="placeholder">请选择地区</span>
                                    <span class="title1" style="display: none;"></span>
                                    <div class="arrow"></div>
                                </span>
                                <div class="city-picker-dropdown" style="left:0px;top:100%;width:1440px;">
                                    <div class="city-select-wrap">
                                        <div class="city-select-tab">
                                            <a class="active" data-count="province">省份</a>
                                            <a data-count="city">城市</a>
                                            <a data-count="district">区县</a>
                                        </div>
                                        <div class="city-select-content">
                                            <div class="city-select province" data-count="province" style="display: block;">
                                                <dl class="clearfix">
                                                    <dt>A-G</dt>
                                                    <dd>
                                                        <a title1="安徽省" data-code="340000" class="">安徽省</a>
                                                        <a title1="北京市" data-code="110000" class="">北京市</a>
                                                        <a title1="重庆市" data-code="500000" class="">重庆市</a>
                                                        <a title1="福建省" data-code="350000" class="">福建省</a>
                                                        <a title1="甘肃省" data-code="620000" class="">甘肃省</a>
                                                        <a title1="广东省" data-code="440000" class="">广东省</a>
                                                        <a title1="广西壮族自治区" data-code="450000" class="">广西壮族自治区</a>
                                                        <a title1="贵州省" data-code="520000" class="">贵州省</a>
                                                    </dd>
                                                </dl>
                                                <dl class="clearfix">
                                                    <dt>H-K</dt>
                                                    <dd>
                                                        <a title1="海南省" data-code="460000" class="">海南省</a>
                                                        <a title1="河北省" data-code="130000" class="">河北省</a>
                                                        <a title1="黑龙江省" data-code="230000" class="">黑龙江省</a>
                                                        <a title1="河南省" data-code="410000" class="">河南省</a>
                                                        <a title1="湖北省" data-code="420000" class="">湖北省</a>
                                                        <a title1="湖南省" data-code="430000" class="">湖南省</a>
                                                        <a title1="江苏省" data-code="320000" class="">江苏省</a>
                                                        <a title1="江西省" data-code="360000" class="">江西省</a>
                                                        <a title1="吉林省" data-code="220000" class="">吉林省</a>
                                                    </dd>
                                                </dl>
                                                <dl class="clearfix">
                                                    <dt>L-S</dt>
                                                    <dd>
                                                        <a title1="辽宁省" data-code="210000" class="">辽宁省</a>
                                                        <a title1="内蒙古自治区" data-code="150000" class="">内蒙古自治区</a>
                                                        <a title1="宁夏回族自治区" data-code="640000" class="">宁夏回族自治区</a>
                                                        <a title1="青海省" data-code="630000" class="">青海省</a>
                                                        <a title1="山东省" data-code="370000" class="">山东省</a>
                                                        <a title1="上海市" data-code="310000" class="">上海市</a>
                                                        <a title1="山西省" data-code="140000" class="">山西省</a>
                                                        <a title1="陕西省" data-code="610000" class="">陕西省</a>
                                                        <a title1="四川省" data-code="510000" class="">四川省</a>
                                                    </dd>
                                                </dl>
                                                <dl class="clearfix">
                                                    <dt>T-Z</dt>
                                                    <dd>
                                                        <a title1="天津市" data-code="120000" class="">天津市</a>
                                                        <a title1="新疆维吾尔自治区" data-code="650000" class="">新疆维吾尔自治区</a>
                                                        <a title1="西藏自治区" data-code="540000" class="">西藏自治区</a>
                                                        <a title1="云南省" data-code="530000" class="">云南省</a>
                                                        <a title1="浙江省" data-code="330000" class="">浙江省</a>
                                                    </dd>
                                                </dl>
                                            </div>
                                            <div class="city-select city" data-count="city" style="display: none;">
                                                <dl class="clearfix">
                                                    <dd></dd>
                                                </dl>
                                            </div>
                                            <div class="city-select district" data-count="district" style="display: none;">
                                                <dl class="clearfix">
                                                    <dd></dd>
                                                </dl>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <span id="inputError2" for="list_area" class="label label-danger" style="visibility: hidden">所在地区必填(省份、城市、区县)</span>
                            </div>
                            <br>
                            <br>
                            <label for="schoolType" class="col-sm-2 control-label">*学校类型</label>
                            <div class="col-sm-9" style="height: 55px;">
                                <div>
                                    <select id="schoolType" class="form-control">
                                        <option value="-1" selected="selected">选择学校类型</option>
                                        <option value="0">小学</option>
                                        <option value="1">初中</option>
                                        <option value="2">高中</option>
                                        <option value="3">完全中学</option>
                                        <option value="4">大学</option>
                                        <option value="5">培训机构</option>
                                        <option value="6">竞品公司</option>
                                        <option value="7">其他</option>
                                    </select>
                                </div>
                                <span id="inputError6" for="schoolType" class="label label-danger" style="visibility: hidden">学校类型必选</span>
                            </div>
                            <br>
                            <br>
                            <hr style="width: 100%;height: 1px;float:left;">
                            <div>
                                <label for="list_job" class="col-sm-2 control-label">*您的职务</label>
                                <div class="col-sm-9" style="height: 55px;width:165px;">
                                    <div>
                                        <select id="list_job" class="form-control">
                                            <option value="-1" selected="selected">选择您的职务</option>
                                            <option value="0">教务处负责人</option>
                                            <option value="1">信息负责人</option>
                                            <option value="2">年级主任</option>
                                            <option value="3">教学组长</option>
                                            <option value="4">理科教师</option>
                                            <option value="5">文科教师</option>
                                            <option value="6">教学副校长</option>
                                        </select>
                                    </div>
                                    <span id="inputError7" for="list_job" class="label label-danger" style="visibility: hidden">职务必选</span>
                                </div>
                                <label for="list_age" class="col-sm-2 control-label">*您的年龄</label>
                                <div class="col-sm-9" style="height: 55px;width:165px;">
                                    <div>
                                        <select id="list_age" class="form-control">
                                            <option value="-1" selected="selected">选择您的年龄</option>
                                            <option value="0">20岁-25岁</option>
                                            <option value="1">25岁-30岁</option>
                                            <option value="2">30岁-35岁</option>
                                            <option value="3">35岁-40岁</option>
                                            <option value="4">40岁-45岁</option>
                                            <option value="5">45岁-50岁</option>
                                            <option value="6">50岁以上</option>
                                        </select>
                                    </div>
                                    <span id="inputError8" for="list_age" class="label label-danger" style="visibility: hidden">年龄必选</span>
                                </div>
                            </div>
                            <br>
                            <br>
                            <label for="list_phone" class="col-sm-2 control-label">*联系电话</label>
                            <div class="col-sm-9" style="height: 55px;">
                                <div>
                                    <input id="list_phone" type="text" class="form-control" placeholder="联系电话" aria-describedby="basic-addon1" maxlength="11"
                                        style="display: inline;">
                                </div>
                                <span id="inputError3" for="list_phone" class="label label-danger" style="visibility: hidden">无效联系电话</span>
                            </div>
                            <br>
                            <br>
                            <label for="list_qq" class="col-sm-2 control-label">联系QQ</label>
                            <div class="col-sm-9" style="height: 55px;">
                                <div>
                                    <input id="list_qq" type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" maxlength="20">
                                </div>
                                <span id="inputError4" for="list_qq" class="label label-danger" style="visibility: hidden">无效QQ号</span>
                            </div>
                            <br>
                            <br>
                            <label for="list_mail" class="col-sm-2 control-label">联系邮箱</label>
                            <div class="col-sm-9" style="height: 55px;">
                                <div>
                                    <input id="list_mail" type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" maxlength="100">
                                </div>
                                <span id="inputError5" for="list_mail" class="label label-danger" style="visibility: hidden">无效联系邮箱</span>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <!--<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>-->
                    <button id="btn_save_user_Info" type="button" class="btn btn-primary" onclick="userInfoEditor.inputUserInfo()">确定</button>
                </div>
            </div>
        </div>
        <input type="hidden" id="oldProvince">
        <input type="hidden" id="oldCity">
        <input type="hidden" id="oldDistrict">
    </div>
    <script>
        var userInfoEditor = new UserInfoEditor();
        $('#myModalUserInfo').on('show.bs.modal', function (e) {

            $(this).find('.modal-dialog').css({
                'margin-top': function () {
                    $("#inputError1").css({ 'visibility': 'hidden' });
                    $("#inputError2").css({ 'visibility': 'hidden' });
                    $("#inputError3").css({ 'visibility': 'hidden' });
                    $("#inputError4").css({ 'visibility': 'hidden' });
                    $("#inputError5").css({ 'visibility': 'hidden' });
                    $("#inputError6").css({ 'visibility': 'hidden' });
                    $("#inputError7").css({ 'visibility': 'hidden' });
                    $("#inputError8").css({ 'visibility': 'hidden' });
                    jQuery.ajax({
                        type: "GET",
                        url: "/m/userInfo/getUserInfo",
                        cache: false,
                        success: function (ret) {
                            var info = JSON.parse(ret);
                            $(".city-picker-span").css("width", "100%");
                            $(".city-picker-dropdown").css("width", "100%");
                            if (info.area != null && info.area != "" && info.area != undefined) {
                                $("#list_age").val(info.area);
                                var areaArray = info.area.split("-");

                                if (areaArray.length >= 3) {
                                    $("span .placeholder").css("display", "none");
                                    $("span .title1").css("display", "");
                                    $("span .title1").empty();
                                    $("#oldProvince").val(areaArray[0]);
                                    $("#oldCity").val(areaArray[1]);
                                    $("#oldDistrict").val(areaArray[2]);
                                    $("span .title1").append("<span class='select-item' data-count='province'>" + areaArray[0] + "</span>-");
                                    $("span .title1").append("<span class='select-item' data-count='city'>" + areaArray[1] + "</span>-");
                                    $("span .title1").append("<span class='select-item' data-count='district'>" + areaArray[2] + "</span>");
                                } else if (areaArray.length >= 2) {
                                    $("span .title1").empty();
                                    $("span .placeholder").css("display", "none");
                                    $("#oldProvince").val(areaArray[0]);
                                    $("#oldCity").val(areaArray[1]);
                                    $("span .title1").append("<span class='select-item' data-count='province'>" + areaArray[0] + "</span>-");
                                    $("span .title1").append("<span class='select-item' data-count='city'>" + areaArray[1] + "</span>");
                                } else if (areaArray.length >= 1) {
                                    $("span .title1").empty();
                                    $("#oldProvince").val(areaArray[0]);
                                    $("span .placeholder").css("display", "none");
                                    $("span .title1").append("<span class='select-item' data-count='province'>" + areaArray[0] + "</span>");
                                }
                                $("#btnClose").removeAttr("style");
                            }
                            if (info.schoolName != null && info.schoolName != "" && info.schoolName != undefined) {
                                $("#list_school_name").val(info.schoolName);
                            }
                            if (info.phone != null && info.phone != "" && info.phone != undefined) {
                                $("#list_phone").val(info.phone);
                            }
                            if (info.qqNumber != null && info.qqNumber != "" && info.qqNumber != undefined) {
                                $("#list_qq").val(info.qqNumber);
                            }
                            if (info.userEmail != null && info.userEmail != "" && info.userEmail != undefined) {
                                $("#list_mail").val(info.userEmail);
                            }
                            if (info.ageArrange != null && info.ageArrange != undefined && info.ageArrange.toString() != "") {
                                $("#list_age").val(info.ageArrange);
                            }
                            if (info.jobType != null && info.jobType != undefined && info.jobType.toString() != "") {
                                $("#list_job").val(info.jobType);
                            }
                            if (info.schoolType != null && info.schoolType != undefined && info.schoolType.toString() != "") {
                                $("#schoolType").val(info.schoolType);
                            }
                        }
                    });
                    $("#list_school_name").focus(function () {
                        $("#inputError1").css({ 'visibility': 'hidden' });
                    });
                    $("#list_area").focus(function () {
                        $("#inputError2").css({ 'visibility': 'hidden' });
                    });
                    $("#list_phone").focus(function () {
                        $("#inputError3").css({ 'visibility': 'hidden' });
                    });
                    $("#list_qq").focus(function () {
                        $("#inputError4").css({ 'visibility': 'hidden' });
                    });
                    $("#list_mail").focus(function () {
                        $("#inputError5").css({ 'visibility': 'hidden' });
                    });
                    $("#schoolType").change(function () {
                        $("#inputError6").css({ 'visibility': 'hidden' });
                    });
                    $("#list_job").change(function () {
                        $("#inputError7").css({ 'visibility': 'hidden' });
                    });
                    $("#list_age").change(function () {
                        $("#inputError8").css({ 'visibility': 'hidden' });
                    });
                    var modalHeight = 580; // $('#myModal').find('.modal-dialog').height();
                    return ($(window).height() / 2 - (modalHeight / 2));
                }
            });
        });
    </script>
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">

    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?7c66c07d4e8cc54deba8d7f967efe75b";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
        $(document).ready(function () {
            updateSchoolView();
        });
        function loadInputTable() {
            if (userInfoEditor) {
                userInfoEditor.showUserInfoInput();
            }
        }

        function updateSchoolView() {
            var schoolLabel = $("#label_school_name");
            jQuery.ajax({
                type: "GET",
                url: "/m/userInfo/getSchoolName",
                cache: false,
                success: function (ret) {
                    var userInfoButton = $("#btn_add_userInfo");
                    userInfoButton.css({ 'visibility': 'visible' });
                    if (ret.split(",")[0] == "") {
                        //从未填写过学校信息
                        userInfoButton.text("添加");
                        $("#btn_add_task").attr('disabled', true);
                        $("#btn_add_task_first").attr('disabled', true);
                        schoolLabel.text("学校: 未填写");
                        loadInputTable();
                    } else {
                        userInfoButton.text("修改");
                        $("#btn_add_task").attr('disabled', false);
                        $("#btn_add_task_first").attr('disabled', false);
                        schoolLabel.text("学校: " + ret.split(",")[0]);
                        if (ret.split(",")[1] == "") {
                            loadInputTable();
                        }
                    }
                    schoolLabel.css({ 'visibility': 'visible' });
                }
            });
        }
    </script>


    <div id="wrap">
        <div id="header">
            <div class="navbar navbar-inverse navbar-top" style="border-top:none;border-bottom-width:2px;border-bottom-color:#03a2ce;border-left:none;border-right: none">
                <div class="container">
                    <ul class="nav nav-pills pull-right">
                        <li class="topbar-right-item">
                            <div id="label_school_name" class="first common" title="点此修改用户名和QQ" onclick="loadInputTable()" style="visibility: visible;">学校: 开发区一中</div>
                        </li>
                        <li class="topbar-right-item">
                            <div class="common" title="点此修改密码和验证邮箱">欢迎您，18571656584</div>
                        </li>
                        <li class="topbar-right-item">
                            <div class="common" onclick="goUrl(&#39;/account/logout&#39;)" title="点此退出">退出</div>
                        </li>
                    </ul>

                    <div class="muted row" style="padding-top: 20px;">
                        <div class="logo col-md-1" style="width: 144px">
                            <a href="http://paike.yunxiao.com/">
                                <img src="./image/logo.png" style="height:36px;width:144px;" alt="云校排课logo">
                            </a>
                        </div>
                    </div>
                </div>
            </div>
            <link rel="stylesheet" href="./css/layout_task_help_res.css">
            <div class="taskName-help-res">
                <div class="container">
                    <div class="taskN" style="float: left;">
                        <a title="返回列表" href="http://paike.yunxiao.com/m/task/list">
                            我的任务
                        </a>
                        <img src="./image/navf.png" style="height:25px;width:25px;margin-bottom: 2px;">
                        <a href="http://paike.yunxiao.com/m/baseInfo/index?taskId=2640188197994496" target="_self">
                            <span class="taskName" id="taskName" title="查看基础信息">排课一</span>
                        </a>
                        <a onclick="javascript:void()" style="display: none">
                            基础信息
                        </a>
                    </div>
                    <div class="text-right res-help">
                        <a class="footer-link" href="http://paike.yunxiao.com/help" target="_self" style="color:#ff0000;">使用技巧</a>
                        <a href="http://shang.qq.com/wpa/qunwpa?idkey=7884f992b7795499d356fd01c58d896f3563b125c7cc2d4bf0a3fccd3ff1d227" style="color:#ff0000;margin-left: 10px">在线服务</a>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
                $(function () {
                    jQuery.ajax({
                        type: "GET",
                        url: "/m/task/name?id=2640188197994496",
                        success: function (data) {
                            $("#taskName").text(data);
                        }
                    });
                });
            </script>
        </div>
    </div>
    <div id="divbody" style="min-height: 495px;">
        <div class="container" id="divcon">

            <link rel="stylesheet" type="text/css" href="./css/webuploader.css">
            <link href="./css/baseInfo.css" rel="stylesheet" type="text/css">
            <link href="./css/jquery-ui.css" rel="stylesheet">
            <link href="./css/step-box.css" rel="stylesheet">

            <style>
                .info-edit-teacher-table td {
                    padding: 1px 5px;
                    font-size: 13px;
                }

                .info-edit-teacher-table td input {
                    width: 100px;
                    font-size: 13px;
                }
            </style>
            <style>
                a.view-course-plan {
                    padding-left: 25px;
                    background-repeat: no-repeat;
                    margin-left: 10px;
                    text-decoration: none;
                    padding-bottom: 5px;
                }



                li.pos {
                    margin-left: 15px;
                }

                .list-inline a {
                    text-decoration: none;
                    padding-left: 25px;
                    padding-bottom: 5px;
                }
            </style>
            <div class="row" style="margin-top: 20px;">
                <div class="col-md-8">
                    <ul class="list-inline">
                        <li>
                            <a href="javascript:void()" id="baseInfo" onclick="goUrl(&#39;/m/baseInfo/index?taskId=2640188197994496&#39;)" class="task-baseInfo active task-baseInfo-active">
                            基础信息</a>
                        </li>
                        <li class="pos">
                            <a href="javascript:void()" id="rule" onclick="goUrl(&#39;/m/rule/unScheduleRule?taskId=2640188197994496&#39;)" class="task-rule">
                            规则条件</a>
                        </li>
                        <li class="pos">
                            <a href="javascript:void()" id="preAssignment" onclick="goUrl(&#39;/m/courseplan/preschedule?taskId=2640188197994496&#39;)"
                                class="task-preAssignment"> 预排</a>
                        </li>
                        <li class="pos">
                            <a href="javascript:void()" id="auto" onclick="goUrl(&#39;/m/courseplan/start?taskId=2640188197994496&#39;)" class="task-auto">
                            自动排课</a>
                        </li>
                        <li class="pos" show-by-courseplan="1" style="display: none;">
                            <a id="adjust" class="task-adjust" href="http://paike.yunxiao.com/m/adjustTeaCoursePlan/teaTimeTable?taskId=2640188197994496#c">调课</a>
                        </li>
                        <li class="pos" show-by-courseplan="1" style="display: none;">
                            <a href="http://paike.yunxiao.com/m/courseplan/class?taskId=2640188197994496" id="task-coursePlan" class="task-coursePlan">查看课表</a>
                        </li>

                    </ul>
                </div>

                <div class="col-md-2 col-md-offset-2">
                    <div class="dropdown" style="float: right;">
                        <button id="btnQuestions" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-default dropdown-toggle">
                            排课遇到难题
                            <span class="caret"></span>
                        </button>
                        <ul id="questions-list" class="dropdown-menu dropdown-menu-right" aria-labelledby="btnQuestions">
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3722&amp;extra=page%3D1" target="_blank">云校排课支持导入其他排课软件的信息表格吗？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3721&amp;extra=page%3D1" target="_blank">如果学校是大周上课，每个大周时间超过7天怎么办？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3720&amp;extra=page%3D1" target="_blank">“基础信息”里的表格是否都需要导入？“导入课程表”有什么作用？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3717&amp;extra=page%3D1%26filter%3Dtypeid%26typeid%3D9"
                                    target="_blank">已导入模板可以在线直接编辑吗？如果出现老师更换，怎么操作？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3719&amp;extra=page%3D1%26filter%3Dtypeid%26typeid%3D9"
                                    target="_blank">导入数据时出现“上传数据格式不正确”或“上传数据失败”怎么办？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3264&amp;extra=page%3D2%26filter%3Dtypeid%26typeid%3D9"
                                    target="_blank">早晚自习如何排？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3656&amp;extra=page%3D1%26filter%3Dtypeid%26typeid%3D9"
                                    target="_blank">某门课单双周课时数不同怎么排？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=2808&amp;extra=page%3D1%26filter%3Dtypeid%26typeid%3D9"
                                    target="_blank">单双周课怎么排？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3718&amp;extra=page%3D1" target="_blank">对于一门课有多个教师同时上课，在数据模板里怎么体现？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3723&amp;extra=page%3D1" target="_blank">模板课时信息中，“M+N”（如4+1）表示什么意思？如果学校所有的课都不连堂（单堂），在模板中应该如何填写？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3716&amp;extra=page%3D1%26filter%3Dtypeid%26typeid%3D9"
                                    target="_blank">对于多个年级同时排课，不同年级科目设置不同，没安排的科目怎么填写？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3715&amp;extra=page%3D1" target="_blank">支持中职或高职学校排课吗？数据模板如何设置？</a>
                            </li>
                            <li>
                                <a href="http://bbs.yunxiao.com/forum.php?mod=viewthread&amp;tid=3714&amp;page=1&amp;extra=#pid6447"
                                    target="_blank">数据有什么格式要求？是否一定要按照模块格式填写？</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>

            <script src="./js/course-plan.js" charset="utf-8"></script>
            <script>
                var coursePlanService = new CoursePlanService();
                var hasCoursePlan = 0;
                $(function () {
                    initButton();
                })
                function initButton() {
                    coursePlanService.hasCoursePlan(taskId, function (has) {
                        hasCoursePlan = has;
                        $("li[show-by-courseplan='1']").hide();
                        if (has == "1") {
                            $("li[show-by-courseplan='1']").show();
                        }
                    })
                }
            </script>

            <script>
                function fillQuestion(list) {
                    var html = new Array();
                    for (var i = 0; i < list.length; i++) {
                        html.push("<li><a href='" + list[i].text + "' target='_blank'>" + list[i].title + "</a></li>");
                    }
                    $("#questions-list").html(html.join(""));
                }

                function getContentList(sign) {
                    jQuery.ajax({
                        url: "/m/content?sign=" + sign,
                        type: "GET",
                        success: function (ret) {
                            if (ret) {
                                fillQuestion(ret);
                            } else {
                                $("#questions-list").html("<li><a href='http://bbs.yunxiao.com/forum.php?mod=forumdisplay&fid=36'" +
                                    " target='_blank'>暂时没有内容，前往论坛</a></li>");
                            }
                        }
                    })
                }
            </script>

            <div class="modal fade" id="clssInfoClassRoomInfo" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                ×
                            </button>
                            <h4 class="modal-title" id="myModalLabel">
                                班级教室
                            </h4>
                        </div>
                        <div class="modal-body" id="divClassRoomInfo">
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal fade" id="spcialClassRoomInfo" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                ×
                            </button>
                            <h4 class="modal-title" id="myModalLabel">
                                专业教室
                            </h4>
                        </div>
                        <div class="modal-body" id="divSpecialClassInfo">
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal">
                                <span aria-hidden="true">×</span>
                            </button>
                            <div class="modal-title" id="myModalLabel">
                                <b id="b_info"></b>
                            </div>
                        </div>
                        <div class="modal-body">

                            <div id="uploadInfo" class="alert alert-warning" style="width: 100%;display: none"></div>
                            <div id="thelist" class="uploader-list"></div>
                            <input id="uploadedFileName" type="hidden">

                            <div class="alert alert-warning" id="divPrompt">
                                排课必须的基础信息包括“年级”、“班级”、“课时分配”、“教师安排”、“教室安排”等，请按照 模板 填写并导入。
                            </div>
                            <img id="imgexample" src="./js/classroom.png" style="width:568px;height: 150px;">

                        </div>
                        <div class="modal-footer">
                            <div id="uploader" style="display: inline-block">
                                <a class="btn btn-primary btn-md" id="picker">
                                    <i class="glyphicon glyphicon-upload"></i> 导入数据
                                </a>
                            </div>
                            <div style="display: inline-block">
                                <a class="btn btn-info btn-md" data-dismiss="modal">
                                    <i class="glyphicon glyphicon-remove"></i> 关闭
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal fade" id="myModalJieCi" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false"
                data-backdrop="static">
                <div class="modal-dialog">
                    <div class="modal-content" id="modal1">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal">
                                <span aria-hidden="true">×</span>
                            </button>
                            <div class="modal-title" id="myModalLabel">
                                <b>设置上课时间
                                    <label style="color:red">(*修改后,设置的规则和预排会跟着进行相对变化！)</label>
                                </b>
                            </div>
                        </div>
                        <div class="modal-body" style="padding-top:8px;">

                            <form class="form-horizontal" role="form">
                                <div style="margin-bottom: 10px;color: #ff0000">请对以下选项进行选择设置</div>
                                <div class="form-group">
                                    <label for="txtName" class="col-sm-2 control-label">每周</label>

                                    <div class="col-sm-9">
                                        <select class="form-control" id="daysPerWeek">
                                            <option value="1">1天</option>
                                            <option value="2">2天</option>
                                            <option value="3">3天</option>
                                            <option value="4">4天</option>
                                            <option selected="" value="5">5天</option>
                                            <option value="6">6天</option>
                                            <option value="7">7天</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="txtPeriod" class="col-sm-2 control-label">上午</label>

                                    <div class="col-sm-9">
                                        <select class="form-control" id="amLessonCount">
                                            <option value="0">0节</option>
                                            <option value="1">1节</option>
                                            <option value="2">2节</option>
                                            <option value="3">3节</option>
                                            <option selected="" value="4">4节</option>
                                            <option value="5">5节</option>
                                            <option value="6">6节</option>
                                            <option value="7">7节</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="txtPeriod" class="col-sm-2 control-label">下午</label>

                                    <div class="col-sm-9">
                                        <select class="form-control" id="pmLessonCount">
                                            <option value="0">0节</option>
                                            <option value="1">1节</option>
                                            <option value="2">2节</option>
                                            <option selected="" value="3">3节</option>
                                            <option value="4">4节</option>
                                            <option value="5">5节</option>
                                            <option value="6">6节</option>
                                            <option value="7">7节</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="txtPeriod" class="col-sm-2 control-label">晚上</label>

                                    <div class="col-sm-9">
                                        <select class="form-control" id="eveLessonCount">
                                            <option selected="" value="0">0节</option>
                                            <option value="1">1节</option>
                                            <option value="2">2节</option>
                                            <option value="3">3节</option>
                                            <option value="4">4节</option>
                                            <option value="5">5节</option>
                                            <option value="6">6节</option>
                                            <option value="7">7节</option>
                                        </select>
                                    </div>
                                </div>
                            </form>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                            <button type="button" class="btn btn-primary" onclick="updateTimeTableStructure();">保存</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="tabbable">
                <!-- Only required for left/right tabs -->
                <div style="margin-top: 20px">
                    <style type="text/css">
                        .my-list-inline {
                            padding-left: 0;
                            list-style: none;
                        }

                        .my-list-inline>li {
                            display: inline-block;
                            width: 110px;
                            text-align: center;
                            margin-left: -4px;
                            cursor: pointer;
                        }

                        .my-list-inline>li:first-child {
                            margin-left: 0px;
                        }

                        .my-list-inline .active {
                            color: #ec5d41;
                            border-bottom: 4px solid #ec5d41;
                            cursor: default;
                        }

                        .my-list-inline a {
                            color: #666666;
                            font-size: 15px;
                            text-decoration: none;
                        }

                        a.colorful {
                            color: #ec5d41;
                        }
                    </style>

                    <div class="row">
                        <div class="col-md-8" style="width:100%;">
                            <ul class="my-list-inline" id="ulTab">
                                <li id="li0" style="width: 150px" class="active">
                                    <a tabindex="0" href="http://paike.yunxiao.com/m/baseInfo/index?taskId=2640188197994496#tab1"
                                        data-toggle="tab" onclick="switchTab(this)" class="colorful">任课信息</a>
                                </li>
                                <li id="li2">
                                    <a tabindex="2" href="http://paike.yunxiao.com/m/baseInfo/index?taskId=2640188197994496#tab3"
                                        data-toggle="tab" onclick="switchTab(this)">教室管理 </a>
                                </li>
                                <li id="li4">
                                    <a tabindex="4" href="http://paike.yunxiao.com/m/baseInfo/index?taskId=2640188197994496#tab5"
                                        data-toggle="tab" onclick="switchTab(this)">导入课程表</a>
                                </li>
                                <li id="li6">
                                    <a tabindex="6" href="http://paike.yunxiao.com/m/baseInfo/index?taskId=2640188197994496#tab_info_edit"
                                        data-toggle="tab" onclick="switchTab(this)">信息维护</a>
                                </li>
                                <li id="li5">
                                    <a tabindex="0" href="http://paike.yunxiao.com/m/baseInfo/index?taskId=2640188197994496#tab6"
                                        data-toggle="tab" onclick="showTimeTableModal(this)">
                                        <span class="glyphicon glyphicon-time" style="color: #32ABF7;"></span> 节次设置</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div style="width:580px;margin-top:-10px;border-top: 1px solid #b3b3b3"></div>
                    <script>
                        var _hmt = _hmt || [];
                        (function () {
                            var hm = document.createElement("script");
                            hm.src = "https://hm.baidu.com/hm.js?7c66c07d4e8cc54deba8d7f967efe75b";
                            var s = document.getElementsByTagName("script")[0];
                            s.parentNode.insertBefore(hm, s);
                        })();
                    </script>
                </div>
                <div class="tab-content">
                    <div class="tab-pane active" id="tab1">
                        <div class="row">
                            <div class="col-md-7 text-info">请按照模板样式填写课时分配和任课安排,注意阅读红色标注</div>
                            <div class="col-md-5">
                                <ul class="list-unstyled list-inline">
                                    <li>
                                        <button class="btn btn-primary btn-md" name="btnUp">
                                            <span class="glyphicon glyphicon-upload"></span> 点击上传
                                        </button>
                                    </li>
                                    <li>
                                        <button class="btn btn-primary btn-md" onclick="goUrl(&#39;/m/baseInfo/getCourseTeacherTemp&#39;)">
                                            <span class="glyphicon glyphicon-download"></span> 任课信息导入模板
                                        </button>
                                    </li>
                                    <li class="export" style="display: none">
                                        <button class="btn btn-primary btn-md export" onclick="downloadBaseInfo()">
                                            <span class="glyphicon glyphicon-export"></span> 导出
                                        </button>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <table name="tblImpt1" style="width:100%;float:left;display:none;">
                            <tbody>
                                <tr>
                                    <td style="text-align: center">
                                        <span style="font-weight: bold;">课时及教师分配信息</span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                        <div id="p1" class="content" style="padding-top: 10px; ">
                            <table name="tblInfo1" class="tableinfo" style="display: inline-table;">
                                <tbody>
                                    <tr>
                                        <td style="border: 1px solid #eee;padding: 20px 2px;">
                                            <img src="./image/baseinfo.jpg" style="width: 950px">
                                        </td>
                                    </tr>
                                </tbody>
                            </table>

                        </div>
                    </div>
                    <input type="hidden" id="input3" value="0">
                    <div class="tab-pane" id="tab3">
                        <!--<div class="row">
                <div class="col-md-7 text-info">请按照模板样式填写课时分配和任课安排,注意阅读红色标注</div>
                <div class="col-md-5">
                    <ul class="list-unstyled list-inline">
                        <li>
                            <button class="btn btn-primary btn-md" name="btnUp">
                                <span class="glyphicon glyphicon-upload"></span> 点击上传
                            </button>
                        </li>
                        <li>
                            <button class="btn btn-primary btn-md" onclick="goUrl('/m/baseInfo/getClassRoomTemp')">
                                <span class="glyphicon glyphicon-download"></span> 专业教室导入模板
                            </button>
                        </li>
                        <li class="classroom">
                            <button class="btn btn-primary btn-md" onclick="downloadClassroom()">
                                <span class="glyphicon glyphicon-export"></span> 导出
                            </button>
                        </li>
                    </ul>
                </div>

            </div>-->
                        <table name="tblImpt3" style="width:100%;float:left;display:none;">
                            <tbody>
                                <tr>
                                    <td style="text-align: center">
                                        <span style="font-weight: bold;margin-left: 90px;">专业教室信息</span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                        <div id="p3" class="content">
                            <table name="tblInfo3" class="tableinfo">
                                <tbody>
                                    <tr>
                                        <td>
                                            请先上传任课信息
                                            <!--<img src="/static/img/classroom.jpg" style="width: 600px;height: 250px">-->
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                    <div class="tab-pane" id="tab5">
                        <div class="row">
                            <div class="col-md-8 text-info">请按照模板样式填写课时分配和任课安排,注意阅读红色标注</div>
                            <div class="col-md-4">
                                <ul class="list-unstyled list-inline">
                                    <li>
                                        <button class="btn btn-primary btn-md" name="btnUp">
                                            <span class="glyphicon glyphicon-upload"></span> 点击上传
                                        </button>
                                    </li>
                                    <li>
                                        <button class="btn btn-primary btn-md" onclick="goUrl(&#39;/m/baseInfo/getAllCoursePlan&#39;);">
                                            <span class="glyphicon glyphicon-download"></span> 下载模板
                                        </button>
                                    </li>
                                    <li>
                                        <button class="btn btn-primary btn-md export" onclick="downloadCourseInfo()">
                                            <span class="glyphicon glyphicon-export"></span> 导出
                                        </button>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <table name="tblImpt5" style="width:100%;float:left;display: none">
                            <tbody>
                                <tr>
                                    <td style="text-align: center">
                                        <span style="font-weight: bold;margin-left: 90px;">课程表信息</span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                        <div id="p5" class="content">
                            <table name="tblInfo5" class="tableinfo" style="display: inline-table">
                                <tbody>
                                    <tr>
                                        <td style="text-align: center">
                                            <img src="./js/courseplans.jpg" style="width: 950px">
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                    <div class="tab-pane" id="tab6">
                        <div id="p6" class="content">
                        </div>
                    </div>

                    <!--tab_info_edit-->
                    <div class="tab-pane" id="tab_info_edit">
                        <div id="info_edit" class="content" style="padding-top: 10px">
                            <div style="font-weight: bold;margin-bottom: 10px">老师信息</div>
                            <table class="info-edit-teacher-table"></table>
                        </div>
                    </div>
                </div>

                <div class="row"></div>

                <div id="stepArea" style="height: 70px;">
                    <div id="stepBox" class="text-right stepBoxFixed2" style="bottom: 0px;">
                        <button type="button" class="btn btn-primary btn-sm" id="btnNext" onclick="goUrl(&#39;/m/rule/unScheduleRule?taskId=2640188197994496&#39;)">下一步
                        </button>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
                var taskId = "2640188197994496";
                var hasSetTimetableStructure = 1;
            </script>
            <script src="./js/base-info.js" type="text/javascript"></script>
            <script src="./js/jquery-ui.js"></script>
            <script type="text/javascript" src="./js/bootstrap.min.js"></script>
            <script type="text/javascript" src="./js/webuploader.js"></script>
            <script type="text/javascript" src="./js/fileupload.js"></script>

            <script src="./js/teacher.js" type="text/javascript"></script>
            <script src="./js/index.js" type="text/javascript"></script>
            <script src="./js/fix-table.js" type="text/javascript"></script>
            <script type="text/javascript" src="./js/step-box.js"></script>
            <script type="text/javascript" src="./js/hover.js"></script>
            <script src="./js/info-edit.js"></script>


            <script>
                stepBox.init();
                $(function () {
                    $(".dropdown-toggle").dropdown();
                    getContentList("qBaseinfo");
                })
            </script>


        </div>
    </div>
    <div id="footer" class="footer">
        <div class="footer-inner container">
            <a class="footer-link" href="http://paike.yunxiao.com/about" target="_self">关于云校排课</a>
            <a class="footer-link" href="http://paike.yunxiao.com/help" target="_self" style="margin-left: 6px">使用技巧</a>

            <p>© 2014
                <a href="http://www.yunxiao.com/">Yunxiao Inc.</a> All rights reserved.云校出品 </p>
        </div>
    </div>



    <script src="./js/autoHeight.js"></script>
</body>

</html>